import request from "./utils/request.js";
import utils from "./utils/index";

App({
  // 用户信息
  globalData: {
    userInfo:{},
    code: ''
  },

  onLaunch: function() {
    this.methods();  
  },

  // 公共方法
  methods() {
    this.$get = request.get;
    this.$post = request.post;
    this.utils = utils;
  }
});
